package com.xframe.xdal.core.handler.es;

import org.elasticsearch.search.SearchHits;


/**
 * 功能描述：SearchHits结果集处理接口
 * 创建人：xufeng
 * 创建时间：2023/4/24
 *
 * @version 1.0
 **/
public interface ISearchHitsHandler<T> {
    T handle(SearchHits searchHits);

    void handleMerge(SearchHits searchHits,T result);
}
